Developer Documentation
PATH  Mac OS X Documentation > Cocoa > Application Design for Scripting, Documents, and Undo


Previous | Chapter contents | Next | Book PDF

Why Is MVC Important?

Apple is adding many new features to the Yellow Box frameworks. Some of these features, such as scripting and undo, are relatively high-level compared to the kind of things that the Application Kit and Foundation frameworks have provided in the past. As more and more higher-level features are added to these frameworks, the assumption will grow that applications using these features are based on high-level designs, such as MVC. A a developer, you need to become more involved in the areas of application design related to these features.

Although developers have always been encouraged to use the MVC pattern, with the advent of new features such as the document architecture, undo support, and scriptability, it is more important than ever for application designers to take the MVC pattern to heart. All of these new high-level features will work best if your application design follows the MVC pattern. It should be almost effortless to use these new features if your application has a good MVC separation, but it will take more effort to use the new features if you don't have a good separation.

(The Application Kit is mostly a view framework although recently some of the newer classes are beginning to get into the controller layer and there are also a few model objects in there as well. The Foundation framework has mostly model objects along with some controller objects.)


Application Design for Scripting, Documents, and Undo

Previous | Chapter contents | Next | Book PDF